package com.alibaba.algo.cooperation.feign.vo.req;

import com.alibaba.algo.cooperation.common.PagerEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author Fan.tianpeng
 * @date 2021/5/7 16:49
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SelectGroupPageRequestVO extends PagerEntity {

    @ApiModelProperty(value = "人员组ID")
    private Long groupId;

    @ApiModelProperty(value = "人员组ID清单")
    private List<Long> groupIdList;

    @ApiModelProperty(value = "人员组编码")
    private String groupCodeKey;

    @ApiModelProperty(value = "人员组名称")
    private String groupNameKey;

    @ApiModelProperty(value = "人员组有效状态 0-失效 1-有效")
    private Integer groupState;

    @ApiModelProperty(value = "员工姓名")
    private String employeeName;

    @ApiModelProperty(value = "用户账号")
    private String userAccount;

    @ApiModelProperty(value = "员工工号")
    private String employeeCode;

    @ApiModelProperty(value = "员工ID")
    private Long employeeId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 用于限定范围的分组ID清单，限定查询该范围内的用户
     * 注意：该属性用途和groupId、groupIdList不同
     */
    @ApiModelProperty(value = "用于限定范围的分组ID清单，限定查询该范围内的用户")
    private List<Long> limitRangeGroupIdList;

    @ApiModelProperty(value = "用户满足CMOS单字段魔化查询,工号精确查询|姓名模糊查询")
    private String searchKey;
}
